<html>
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=0.5, maximum-scale=2.0, user-scalable=yes">
        <script>
			var _hmt = _hmt || [];
			(function() {
			  var hm = document.createElement("script");
			  hm.src = "//hm.baidu.com/hm.js?3ab9b1459917c8433cae09f20a2533a2";
			  var s = document.getElementsByTagName("script")[0]; 
			  s.parentNode.insertBefore(hm, s);
			})();
		</script>
        <title>
        @section('title') - 我的律团网
        @show
        </title>
    </head>
    {{ HTML::script('lib/js/pingpp-pc.js') }}
    {{ HTML::style('css/comm.css')}} 
	{{ HTML::script('js/jquery-1.7.2.min.js') }}
    <body>
    	<div class="h5-width">
   <div class="h5-width-lg">
       <div class="h5-logo"><a href="{{ Route('home.index') }}" title="我的律团网" ></a></div>
       <div class="h5-menu">
       	<ul>
       		<li><a href="{{ Route('center.lawyer.main') }}" class="@if (Route::is('center.lawyer.main')) hover @endif">工作台</a></li>
       		<li><a href="{{ Route('center.lawyer.my_question') }}" class="@if (Route::is('center.lawyer.my_question')) hover @endif">免费咨询</a></li>
       		<li><a href="{{ Route('center.lawyer.my_order') }}" class="@if (Route::is('center.lawyer.my_order')) hover @endif">订单管理</a></li>
       		<li><a href="{{ Route('center.lawyer.blog.list') }}" class="@if (Route::is('center.lawyer.blog.list') || Route::is('center.lawyer.blog.create') || Route::is('center.lawyer.blog.draft') || Route::is('center.lawyer.collect')) hover @endif">我的博客</a></li>
       </ul>
       </div>
       <div class="h5-help">
       		@if(Auth::check())
				@if(Auth::user()->isVerifiedLawyer())
				 <div id="jq-personal" class="login-register-info">
				 	<a href="@if (Auth::user()->isVerifiedLawyer()) {{route('center.lawyer.info')}} @else {{route('center.customer.info')}} @endif">
				 	@if(Auth::user()->nikname)
				 		{{ Auth::user()->nikname }}
				 	@else
				 		匿名用户
				 	@endif
				 	</a>
				 	<a class="logout" href="javascript:void(0);" title="退出">退出</a>
		       </div>
		        @endif
			@endif
       </div>
   </div>
</div>
<script>
function setActive(index){
	var a = $('.h5-menu ul').find('li').eq(index).find('a').eq(0).addClass('hover');
	a.parent().siblings('li').find('a').removeClass('hover');
}
</script>
    <div class="nav-top-margin"></div>
	<div id="layerloginregister" style="display:none;"></div>
      
      @yield('content')
    
	  <div class="site-footer" id="site-footer" style="background: #1d1f20;">
     	<div class="container" >
     		<div class="fdd-bottom" >
				<div class="fdd-bottom-center">
					<div class="fdd-bottom-icon">
						<ul>
							<li><span>客服电话</span><strong>400- 869- 2012</strong><em></em></li>
							<li>公司地址<br/>
								<strong>深圳市福田区福中路福景大厦中座16楼1602</strong>
									<em class="two"></em></li>
						</ul>
						<div class="fdd-bottom-p">
							<em></em>
							粤ICP备15014326号-1  2014-2015 elvtuan.com All Rights Reserved. 
							 <p>
							 	深圳市律团科技有限公司，禁止非法复制
							 </p>
						</div>
						<div class="fdd-bottom-ios">
							<img src="/img/footer/code.png"><br/>扫码下载律团手机客户端
						</div>
					</div>
				</div>
			</div>
	  </div>
	  <script type="text/javascript">
		var login_url = '{{ route("home.login") }}';  //登录链接
		var logout_url = '{{ route("home.logout") }}';  //退出登录
		var register_url= '{{ route("home.register") }}'; //注册
		var send_code = '{{ route("send_code") }}';
		var jumpUrl = "{{ Config::get('app.url') }}";  //本地服务器
		var apitest = '{{ Config::get("app.api_url") }}';   //api服务器链接
	  </script>

	{{ HTML::script('js/index/layer-v1.9.3/layer/layer.js') }}
	{{ HTML::script('js/index/validate.js') }}
    {{ HTML::script('js/index/index.js') }}
	{{ HTML::script('js/dataCode.js') }}
    </body>
</html>
